﻿using EFCore.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SIService
{
    public interface SalesreturnSI
    {
        //4个条件分页查询
        Task<List<PO_Salesreturn>> Fye(int pageSize, int currentPage, string Number = null, string Status = null, string Supplier = null, DateTime? date = null, DateTime? date1 = null);
        //查询总条数
        Task<List<PO_Salesreturn>> Qu();
        //销售退货明细表的添加
        Task<int> Add(PO_Salesreturndetails pO_Salesreturndetails);
        //销售退货添加数据
        Task<int> Add1(PO_Salesreturn pO_Salesreturn);
        //销售退货删除
        Task<int> XsDel(List<int> Ids);
        //销售退货审核
        Task<int> XsShen(PO_Salesreturn pO_Salesreturn, string to);
    }
}
